package com.lp.board.service.impl;

import com.lp.board.mapper.BoardMapper;
import com.lp.board.service.IBoardService;
import com.lp.model.entity.board.Board;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BoardService implements IBoardService {

    @Autowired
    private BoardMapper boardMapper;

    @Override
    public List<Board> getBoardList() {
        return boardMapper.selectBoardNameList();
    }

}
